/**
 * 
 */
package com.mc.okhttp;

import java.io.File;

import com.mc.parameter.Parameter;

import cn.hutool.core.io.file.FileReader;

/**
 * 
 * 
 * @author w.weizhen
 *
 */
public class DMDBText {

	/**
	 * @param args
	 */
	public static void main(String[] args) 
	{
		String file_path = "dmdb"+ File.separator + "person_set.json";
		FileReader fileReader = new FileReader(Parameter.data_path + file_path);
		String data = fileReader.readString();
		String url = "http://192.168.12.170/beenetic-up-bootstrap/person/set";
		String result = OkHttpUtil.httpPost(url, data);
		System.out.println(data);
		System.out.println(result);
		
	}
	
}